module.exports = function changeObjKey(oldVal, newVal, obj) {
	for (const key in obj) {
		if (key === oldVal) {
			obj[newVal] = obj[key];
			delete obj[key];
		}
	}
};
